package fileinput;

import java.io.Serializable;
import java.util.Set;

public class ExDomainRegex implements Serializable{

	private String suffix;
	//domain
	private String newName;
	private Set<String> ipSet;
	private String regex;
	
	public ExDomainRegex(String suffix, String newName, Set<String> ipSet) {
		super();
		this.suffix = suffix;
        //domain
		this.newName = newName;
		this.regex = ".*" + suffix + "$";
		this.ipSet = ipSet;
	}

	public String getSuffix() {
		return suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	public String getNewName() {
		return newName;
	}

	public void setNewName(String newName) {
		this.newName = newName;
	}

	public Set<String> getIpSet() {
		return ipSet;
	}

	public void setIpSet(Set<String> ipSet) {
		this.ipSet = ipSet;
	}

	public String getRegex() {
		return regex;
	}

	public void setRegex(String regex) {
		this.regex = regex;
	}
	

}
